/* util */
import http from '@src/util/http'
const headUrl = '/api/customer'


// 开票列表查询
export function queryInvoiceList (params: object) {
  return http.post(`${headUrl}/outside/invoice/query`, params)
}
// 取消开票
export function cancelInvoice (params: object) {
  return http.post(`${headUrl}/outside/invoice/cancel`, params)
}
// 完成开票
export function updateInvoiceState (params: object) {
  return http.post(`${headUrl}/outside/invoice/updateState`, params)
}
// 状态数量统计
export function statisticsState () {
  return http.post(`${headUrl}/outside/invoice/statisticsState`)
}